const mongoose = require('mongoose')
// 创建约束
const schema = new mongoose.Schema({
	name: {type: String},
	count: {type: Number},
})
// 输出具备约束的model模型
module.exports = mongoose.model('Counter', schema)